<template>
  <div>
    <el-form :model="{}" size="medium" :inline="true" label-width="60px">
      <el-form-item label="操作栏" prop="" v-hasPermi="['system:notice:add']">
        <el-button type="primary" plain icon="el-icon-plus" size="medium" @click="handleAdd">新增计划</el-button>
      </el-form-item>
    </el-form>
    <!-- <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="medium"
          :disabled="true"
          @click="handleUpdate"
          v-hasPermi="['system:notice:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="medium"
          :disabled="true"
          @click="handleDelete"
          v-hasPermi="['system:notice:remove']"
        >删除</el-button>
      </el-col> -->
    <!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> -->
    <!-- 申请调拨 -->
    <!-- <template v-if="open">
      <AddAllocation :title="title" @handleUpdate="handleUpdate"></AddAllocation>
    </template> -->
  </div>
</template>

<script>
export default {
  components: {
    // AddAllocation: () => import('../form/addAllocation.vue')
  },
  data () {
    return {
      title: '申请调拨',
      open: false
    }
  },
  methods: {
    /** 新增按钮操作 */
    handleAdd () {
      this.$emit('handleAdd')
    },
    /** 修改按钮操作 */
    handleUpdate (row) {
      this.open = false
      this.$emit('selectList')
    },
    /** 删除按钮操作 */
    handleDelete (row) {

    },
  }
}
</script>

<style>
</style>